package dgut.haitaobao.entry;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName(value = "product_sku",autoResultMap = true)
public class ProductSku {
    @TableId(value = "sku_id",type = IdType.INPUT)
    private String skuId;

    @TableField(value = "product_id")
    private String productId;

    @TableField(value = "sku_name")
    private String skuName;

    @TableField(value = "sku_img")
    private String skuImg;

    @TableField(value = "untitled")
    private String untitled;

    @TableField(value = "original_price")
    private Integer originalPrice;

    @TableField(value = "sell_price")
    private Integer sellPrice;

    @TableField(value = "discounts")
    private BigDecimal discounts;

    @TableField(value = "stock")
    private Integer stock;

    @TableField(value = "create_time")
    private Date createTime;

    @TableField(value = "update_time")
    private Date updateTime;

    @TableField(value = "status")
    private Integer status;
}
